package com.amsp.oa.oademo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import java.util.Date;

@Data
@TableName("employee_agreement")
public class EmployeeAgreement {
    @TableId(type = IdType.AUTO)
    private Long id;

    private String companyName;

    private String companyAddress;

    private String employeeName;

    private String departmentPosition;

    private String employeeGender;

    private Integer employeeAge;

    private String nationality;

    private String hukouLocation;

    private String idNumber;

    private String contactPhone;

    private String selfDeclarer;

    private String volunteerName;

    private String companySignature;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date companyDate;

    private String employeeSignature;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date employeeDate;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date createTime;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date updateTime;
}